import request from '@/plugins/request'

export function getUserInfo(params){
    return request({
        url:'/api/admin/v1/auth/list',
        method:'get',
        params
    })
}

export function login(data){
    return request({
        url:'/api/admin/v1/auth/login',
        method:'post',
        data
    })
}

export function logout(data){
    return request({
        url:'/api/admin/v1/auth/login',
        method:'post',
        data
    })
}